Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Move telemetry urllib context to initialize function #263

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

marofke
Copy link
Contributor

@marofke marofke commented Mar 29, 2024

What was the problem/requirement? (What/Why)

We're still seeing some runtime errors in DCC submitters when trying to initialize the telemetry client.

What was the solution? (How)

Move botocore's urllib3 SSL context logic into the initialize function, which safely tries to import botocore's SSL, or silently fails

What is the impact of this change?

Failing to initialize telemetry shouldn't crash DCC submitters

How was this change tested?

Submitted a job successfully

Was this change documented?

N/A

Is this a breaking change?

No

@marofke marofke requested a review from a team as a code owner March 29, 2024 21:56
@marofke marofke force-pushed the marofke/telemetry-urllib-init branch from eadb26e to fd7eb50 Compare March 29, 2024 21:57
@marofke marofke force-pushed the marofke/telemetry-urllib-init branch from fd7eb50 to f9f6d6f Compare March 29, 2024 22:46
Signed-off-by: Caden Marofke <marofke@amazon.com>
@marofke marofke force-pushed the marofke/telemetry-urllib-init branch from f9f6d6f to 42405dd Compare March 29, 2024 23:17
@marofke marofke enabled auto-merge (squash) March 29, 2024 23:17
@marofke marofke merged commit aebd13b into mainline Mar 29, 2024
18 checks passed
@marofke marofke deleted the marofke/telemetry-urllib-init branch March 29, 2024 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants